Repository navigation
GH Issue 1920: Fire one change from the date-time field with its full value - #329
Merged
labkey-tchad merged 2 commits intoNov 17, 2026
Merged
Conversation
Collaborator
|
@labkey-tchad: this is an interesting patch...can you say more about how this is manifesting?
|
Member
Author
In some tests, datetime fields' default values overwrite the test user's input with some other value. There is already at least one workaround in a test but updating Firefox has exacerbated it enough that the workaround isn't cutting it. |
Collaborator
|
@labkey-tchad, ok, thanks for the background. I cant see the TNPRC repo, but Binal's comment on the EHR repo was helpful. At least conceptually this seems reasonable. |
bbimber
approved these changes
Nov 16, 2026
labkey-tchad
marked this pull request as ready for review
November 16, 2026 23:13
An exception while setting the inner fields no longer leaves change events suspended.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
(GH Issue 1920)
The field is made of two boxes, one for the date and one for the time. Today, when either box changes, the box's own change event is passed up as if the date-time field had fired it. That has three effects:
With the PR, each edit or programmatic set fires one change from the date-time field itself, with the full date-time and the previous value.
Related Pull Requests
Changes